<%--
  Created by IntelliJ IDEA.
  User: 86176
  Date: 2020/4/22
  Time: 14:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>show2页面</title>
</head>
<body>
<%
    // 从rquest缓存对象中获取被缓存的变量的值
    //Object objVal = session.getAttribute("name"); // 获取forward之前的页面的参数值
    Object objVal = request.getAttribute("name"); // 获取forward之前的页面的参数值
    // 输出到用户浏览器
    out.print("接收到的参数name的值："+objVal);
%>
</body>
</html>
